What should I write my document in if I want them to both to be rich, readable and can be open natively by both linux and windows? I want to write documents and put them in a git repo that could reside on either. Should I use OpenOffice or is there a more lightweight option?
Probably the lightweight option would be Rich Text Format (RTF), which can be opened by Linux (OpenOffice, AbiWord, KOffice) and also by Windows (Microsoft Office and also WordPad!). I suggest looking at the Wikipedia article.
The downside is that it's not as versatile as newer formats (OpenDocument and Microsoft's Docx format). You might want to use OpenDocument format as it is a standarized open format and supported by most office suites. Microsoft Word's format IIRC also standarized, but I don't think support is very good for edge cases in editors other than Microsoft Word. I also don't know how good OpenDocument format is support in Microsoft Word, especially for saving documents.
If you don't need any advanced feature, you could probably settle with RTF =)
Related
I'm looking for a (free, GUI) tool to explore the internals and structure of PDF files on macOS (10.14.1). It looks like PDFXplorer from OS solutions (http://www.o2sol.com/pdfxplorer/overview.htm) would meet my needs, but no Mac version is available. I do not have Adobe Acrobat Pro. Surely, with the broad use of macOS in desktop publishing, there must be a tool to inspect the innards of a PDF! Any thoughts?
You may find an answer here, which includes lists of tools for parsing PDF data.
Best tool for inspecting PDF files?
Generally, in desktop publishing, the data streams of PDF are of little interest. Any problems, and the PDF will be re-made from the source artwork files, or edited/adjusted with Acrobat's preflight utility, or with a third-party tool like PitStop.
But this is without any user awareness of the actual data objects.
I am using an off site drafter for much of the drawing work that I have done. My office uses Autocad 2012 LT, while the off site drafter produces files in the 2016 format. In order to edit the drawings I must first convert the files from the newer autocad drawing format to an older format using DWG Trueview. Is there any way to interact with an API to complete this task?
The only programming language I know is python. I know comtypes can interact with the DLL's so its a matter of hooking in.
You can already convert drawings in batch using the DWG Convert tool provided with DWG TrueView, and so in my opinion there is very little benefit to be gained in investing a significant amount of time attempting to automate this process further.
Simply follow the detailed instructions & video tutorial provided here.
Is it possible to convert .ppt file to .pptx without using interop or Spire, because I think it will be something like converting a binary file to open xml format?
Public void ConvertPPTToPPTX(MemoryStream pptFileInput,MemoryStream pptxFileOutput){
.....
}
Thanks in advance.
If you want to do this programmatically you will have to use interop or some third party library.
If you can use interop you will get the fidelity of Office, any other third party library is just a best effort, unless it uses interop under the hood, which some do. Make sure you check if the library requires Office to be installed.
There is nothing built in directly to the .NET framework if that is what you are asking.
Neither will Microsofts OOXML SDK support conversion
The only thing I know of from Microsoft that will do PPT conversion is
PowerPoint Automation Services , but this requires access to a SharePoint Server
http://msdn.microsoft.com/en-us/library/office/fp179894(v=office.15).aspx
This is not an easy problem to solve, in order to do a conversion you have to understand and be able to read in the PPT Binary FileFormat
http://msdn.microsoft.com/en-us/library/office/cc313106(v=office.12).aspx
And then translate that all to the OOXML File format
http://msdn.microsoft.com/en-us/library/dd926741(v=office.12).aspx
All while taking into account the thousands of features the file format supports, the differences in the file formats,the features that are not documented well, and the ones that are documented incorrectly.
What exactly are you trying to solve? A one time conversion, a batch conversion, as needed? Maybe we can provided some other suggestions with more details.
I work in a secure data environment so my ability to install software is pretty limited. I have Notepad++, but don't have TextFx (and I read it doesn't work in the current version anyway). I don't have the Python plugin for Notepad++ either. No AHK, etc. OS is Windows XP.
I'm trying to find another way to write a basic script that I can use to insert a time and date stamp into any text editor. I did some googling but couldn't find any specific examples.
I noticed that Notepad uses F5 for date/time stamp, so I tried to find the file/code it uses for that, but no luck.
Any tips? Looking for something like a batch file I can assign a KB shortcut to use across text editors, Word, or whatever. Thanks!
What it sounds like you are looking for would be a key macro. The functionality you are describing is implemented within the program itself, and is not available for global usage throughout the OS.
As you are on Windows XP I am not sure what options are available without a software installation. There is no built in macro recorder for Windows XP unfortunately.
If you are in Word, then you could use the built in Office macros to accomplish this. How exactly depends on your version of Office.
I've got these machine that output a lot of data. Unfortunately, the files outputted are structured in a strange way. I'd like to be able to do some complex text processing (perl style) to parse the data and be able to output to Excel format. I'd also like to automate this but the only server that I can use is running Windows XP (with Office) and I'm not allowed to install any extraneous software (no .NET, Powershell, ActivePerl, etc.)
What is the best way to do this? Are regex in VB/VBA powerful enough for me to script in Excel?
I'd recommend using something like AutoIt. It has an inbuilt regex engine and there is an excel standard include. It can compile to a standalone exe so fits the bill. It's also pretty simple as a langauge, so shouldn't take to long to figure out coming from other languages.