I want to edit the cmis:name of a document in CMIS Workbench, so I selected the document, opened its Properties tab (left window in the screenshot below), and double-clicked on cmis:name.
The Property Editor showed up (right window in the screenshot below), and surprisingly to me it contains 3 rows for the field cmis:name:
What is the difference between each of the three?
(remark: as you can see, the same happens for cmis:description)
It is a bug in Alfresco.
I reported it at https://issues.alfresco.com/jira/browse/ALF-21974
The issue is currently marked as "In progress".
GhostScript can render AI images where each artboard is represented as a page. So I can tell to GS what page (ie artboard) I want to render.
But how to determine what artboard is selected in AI image programmatically?
Download a sample AI image with 2 artboards (ArtBoard2 is selected)
Ghostscript only renders .ai files when the file contains valid PostScript (or PDF in later versions). Not all .ai files can be rendered.
Without knowing what an 'artboard' is represented as (though your question seems to indicate it is a page) in a PostScript program or PDF file its not possible to answer your question, perhaps you could post an example that might make things clearer.
However I very strongly suspect the answer is 'you can't'.
I've been dabbling with JCrop and I can get it working so far as uploading an image, selecting a region and then saving what I've selected to a cropped version of the original image. I can also get the thumbnail preview working, so that whatever I've selected (however big or small fits into a 150px*150px region)..so far all good.
The only problem I'm having now is saving what is in the thumbnail preview which is 150*150 and as mentioned contains whatever I have selected...
I've had a good look around on google and can't see anything to save the thumbmail preview..
Anyone come across this before?
Ok bascially what I'm doing is saving the cropped image and then saving it again but resizing it to whatever dimensions are in the preview pane....I'm not sure it gives me the an exact replica of what's in the preview pane in terms of quality but it's not so bad I guess.
In my application, I create the reports from source code by using fast report.
I wish to give the user the ability to modify the report by using the fast report designer.
Once the changes done by the user, how I can read the preview screen and find properties of certain fields, such as left, top, width, font etc.
TfrxMemoview(report.components[I]).left always results the original value, not the revised.
Thanks
You will have to recreate the preview. The preview is already what you want to print. If you do not like what you see recreate it. But it is possible to read all properties from the preview.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
Does anyone know how to change the dimensions of each page on an Acrobat document.
Also how can I see the dimensions of each page seperately??
For example I have a 3 pages document. The first 2 pages are of the same dimensions 8.2 x 11.6 inches. However the 3rd is smaller. How do I make it larger?
Thanks
With Mac OS X and the more recent versions of Acrobat Pro, the PDF printer option does not work. What does work is doing basically the same thing in Preview App. Open the multi page file in Preview, select File>Print. In the Print dialog set your sheet size as if you are using a printer. You may want to select "Auto Rotate", "Scale to Fit" and "Print Entire Image". Then in the lower left corner is the drop button "PDF" and in that menu select "Save as PDF". Give it a new file name, click Save and then you can open the resulting file in whatever PDF app you want and the sheet sizes are the same.
You have to use the Print to a New PDF option using the PDF printer. Once in the dialog box, set the page scaling to 100% and set your page size. Once you do that, your new PDF will be uniform in page sizes.
Open the PDF in MacOS´ Preview App
Chose File menu –> Export as PDF
In the export dialog klick the Details button an select your page size
Click save
All pages of the resulting document will be scaled to that size. The resulting file size is nearly identical to the original PDF, so I conclude, that image resolutions/compressions are not changed.
Hints:
I am not sure whether the "Export as PDF" menu item is available by default or only if Adobe Acrobat is installed.
My first trial was to use Preview App and print (!) into a new PDF, but this leads to additional margins around the page content.
The page sizes are looking different in your PDF because the images were originally set to different DPI (even if images are identical HxW in pixels). The good news is - it's only a display issue - and can be fixed easily.
An image with a higher DPI value would display smaller in a PDF (displays at the 'print-size' of the image). To avoid this, open each image in an image editor like GIMP or Photoshop. Open relevant image print control dialog box and set a suitable uniform DPI info for all the images. Remake the PDF with these new images. If in the new PDF images are too big - redo the DPI setting for each to a higher value. If in the new PDF pages are too small to read on-screen without zooming, again - redo DPI adjustment, this time put a lower DPI value. Ideally, 150 DPI should be good enough for images of 2500X2500 pixel - on a 17 inch monitor set to 1366x768 resolution.
BTW, the PDF file shall print each page at the specified DPI of that page. If all images are same DPI, you'll get a uniform printing.
Hope this helps :)
The above works,(having an original document with mixed pages of 11' and 16' wide).
However auto rotate needs to be off otherwise landscape pages are saved with page white top and bottom, so dont work in full screen view.
Solution is to re open the new PDF in acrobat and crop the first image (carefully to avoid white border), then select page range i.e. all, this then applies to all pages.
job done !